Smush\Core\LCP\LCP_Helper S

Total Complexity 39
Dependencies 8
Dependents 7
Total lines 248
Lines of code 147
Logical lines of code 81
Comment lines 52
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
_sanitize_data()
S
55 7 20
get_lcp_data_for_current_page()
S
56 5 19
build_url_pattern()
S
61 4 12
delete_all_lcp_data()
S
57 3 15
get_data_store()
S
64 3 10
sanitize_string_value()
S
68 2 7
is_excluded_uri()
S
65 2 9
get_excluded_uri_pattern()
S
66 2 8
is_subsite()
S
79 2 3
sanitize_data()
S
62 1 13
__construct()
S
71 1 6
get_current_lcp_data_version()
S
75 1 4
increment_lcp_data_version()
S
75 1 4
set_server_utils()
S
81 1 3
set_wp_query_utils()
S
81 1 3
get_excluded_pages()
S
75 1 4
get_preload_options()
S
76 1 4
should_skip_preload()
S
81 1 3